﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FundHelper.Model
{
    public struct Quote: ICanToTuple
    {
        public string Name { get; set; }
        public string Id { get; set; }
        public DateTime Date { get; set; }

        public double Price { get; set; }
        public double High { get; set; }
        public double Low { get; set; }

        public Quote ToQuote()
        {
            return this;
        }

        public (DateTime dateTime, double value) ToTuple()
        {
            return (Date, Price);
        }
    }

    
}
